package com.xm.entity;

/**
 * 轮播图实体类
 * 
 * @author kh
 */
public class Banners {
	private int id;
	private String title;
	private String url;
	private String link;
	private int weight;

	public int getWeight() {
		return weight;
	}

	public void setWeight(int weight) {
		this.weight = weight;
	}

	public int getId() {
		return id;
	}

	public void setId(int id) {
		this.id = id;
	}

	public String getTitle() {
		return title;
	}

	public void setTitle(String title) {
		this.title = title;
	}

	public String getUrl() {
		return url;
	}

	public void setUrl(String url) {
		this.url = url;
	}

	public String getLink() {
		return link;
	}

	public void setLink(String link) {
		this.link = link;
	}

	@Override
	public String toString() {
		return "Banners [id=" + id + ", title=" + title + ", url=" + url + ", link=" + link + ", weight=" + weight
				+ "]";
	}

	public Banners(int id, String title, String url, String link, int weight) {
		super();
		this.id = id;
		this.title = title;
		this.url = url;
		this.link = link;
		this.weight = weight;
	}

	public Banners() {
		super();
		// TODO Auto-generated constructor stub
	}

	

}
